package com.cloudeasy.user.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 角色权限实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Accessors(chain = true)
@TableName("ce_role_permission")
public class RolePermission implements Serializable {
    /**
     * 角色Id
     */
    @TableId
    private String roleId;
    /**
     * 权限Id
     */
    @TableId
    private String permissionId;
    /**
     * 类型
     */
    private Boolean authorize;
}
